<div class="foxcms-banner-pc">
	<div class="swiper index-swiper-pc" style="--swiper-navigation-color: #fff; --swiper-pagination-bullet-inactive-color: #fff; --swiper-pagination-color: #fff">
		<div class="swiper-wrapper">
			{fox:adv pid='2' sid="ad1"}
			<div class="swiper-slide">
				<div class="swiper-item" style="background-image: url([$ad.img_url])"></div>
			</div>
			{/fox:adv}
		</div>
		<div class="swiper-button-next"></div>
		<div class="swiper-button-prev"></div>
		<div class="swiper-pagination"></div>
	</div>
</div>
<script>
	setTimeout(() => {
		new Swiper('.index-swiper-pc', {
			autoplay: true,
			pagination: {
				el: '.index-swiper-pc .swiper-pagination',
			},
			navigation: {
				nextEl: '.index-swiper-pc .swiper-button-next',
				prevEl: '.index-swiper-pc .swiper-button-prev',
			},
		});
	}, 300);
</script>